package cn.com.bdqn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户")
public class UsUser {

  @ApiModelProperty(value = "用户编码（规则：共10位，前2位表示辖区，后8位是全局流水号）")
  private String userNo;

  @ApiModelProperty(value = "用户姓名（最多40个汉字）")
  private String userName;

  @ApiModelProperty(value = "简码")
  private String abc;

  @ApiModelProperty(value = "创建日期")
  private String createDate;

  @ApiModelProperty(value = "联系地址（即用水地址）")
  private String address;

  @ApiModelProperty(value = "联系电话")
  private String phone;

  @ApiModelProperty(value = "短信电话")
  private String smsPhone;

  @ApiModelProperty(value = "所属辖区")
  private Long areaId;

  @ApiModelProperty(value = "用户类型（公户、私户）")
  private String userType;

  @ApiModelProperty(value = "收款方式（坐收、走收、银行代扣）")
  private String payType;

  @ApiModelProperty(value = "开户银行")
  private String bankName;

  @ApiModelProperty(value = "银行账号")
  private String bankNum;

  @ApiModelProperty(value = "提比提量值")
  private String formula;

  @ApiModelProperty(value = "用户金额（正数是预缴费余额、负数是欠费金额）")
  private Double userMoney;

  @ApiModelProperty(value = "水表ID")
  private String meterId;

  @ApiModelProperty(value = "档案编号")
  private String docNum;

  @ApiModelProperty(value = "密码（MD5加密。暂时无用，为将来的移动互联网查询预留的字段）")
  private String pwd;

  @ApiModelProperty(value = "合同编号（指供水协议的合同编号）")
  private String contractNum;

  @ApiModelProperty(value = "合同签订日期")
  private String contractDate;

  @ApiModelProperty(value = "所属表册ID")
  private Long volumeId;

  @ApiModelProperty(value = "在表册中的序号")
  private Long volumeOrderIndex;

  @ApiModelProperty(value = "禁用 （0可使用 1已禁用）")
  private Long disabled;

}
